
<md-button class="md-accent md-primary" ng-click="openEditorWidget()">openEditorWidget</md-button>

<br>
<div style="width: 100%;height: 100%" >
    code: <pre>{{code}}</pre>
    <draw-widget
            widget="w" ng-if="w.init && !w.error"
            isdark="w.isDark"
            class="widget widget-grid-stack-item widget-{{w.type}} widget-selector">

    </draw-widget>
</div>